using UnityEngine;

public class Door : ActorBase
{
    public Vector3 Pos;
    public SceneExitData Exit;
    public override ActorType GetActorType()
    {
        return ActorType.Door;
    }
    public override Vector3 GetWorldPosition()
    {
        return Pos;
    }
    protected override void OnStart()
    {
        this.GameObject.transform.position=Pos;
        base.OnStart();
    }
}